//
//  UILabel+height.h
//  UIAlertViewDemo
//
//  Created by ouyangbiao on 17/3/17.
//  Copyright © 2017年 anjuke. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (height)

//根据内容判断是不是单行显示的?--------
+ (BOOL)isSingleLineWithContent:(NSString *)content andFont:(UIFont *)font andWidth:(CGFloat)width;
+ (CGFloat)calllHeightWithContent:(NSString *)content andLineNumber:(NSInteger)lineNumber andFont:(UIFont *)font;
+ (CGFloat)calllHeightWithContent:(NSString *)content andLineNumber:(NSInteger)lineNumber andFont:(UIFont *)font andWidth:(CGFloat)width;

//
+ (CGFloat)callHeightAttributeWithContent:(NSString *)content andFont:(UIFont *)font andLineNumber:(NSInteger)lineNumber andLineSpace:(NSInteger)spaceNumber;

+ (CGFloat)callHeightAttributeWithContent:(NSString *)content andFont:(UIFont *)font andLineNumber:(NSInteger)lineNumber andLineSpace:(NSInteger)spaceNumber andWidth:(CGFloat)width;
+ (NSAttributedString *)fetchAttributedStringWithContent:(NSString *)content andLineSpace:(NSInteger)lineSpace;


+ (void)changeLineSpaceForLabel:(UILabel *)label WithSpace:(float)space;

@end
